
import java.io.PrintWriter;

class DeclarationList extends Node {

	private Node decl_;
	private Node decl_list_;

	public DeclarationList(Node d) {
		decl_ = d;
	}

	public DeclarationList(Node dl, Node d) {
		decl_ = d;
		decl_list_ = dl;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : DeclarationList");
		// assert(decl_);
		decl_.print(pw);
		if (decl_list_ != null) {
			decl_list_.print(pw);
		}
	}

}
